home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / MissingArgumentsException.java < prev    next >
Text File  |  1998-09-08  |  723b  |  42 lines

  1. package com.symantec.itools.frameworks.application.commandline;
  2.  
  3.  
  4. /**
  5.  * @author Symantec Internet Tools Division
  6.  * @version 1.0
  7.  * @since VCafe 3.0
  8.  */
  9.  
  10. public class MissingArgumentsException
  11.     extends InvalidArgumentException 
  12. {
  13.  
  14.     /**
  15.      * @since VCafe 3.0
  16.      */
  17.     protected String flag;
  18.     
  19.     public MissingArgumentsException(String f)
  20.     {
  21.         super(f + " expected more arguments");
  22.         
  23.         flag = f;
  24.     }
  25.     
  26.     public MissingArgumentsException(String msg, Throwable t)
  27.     {
  28.         super(msg, t);
  29.         
  30.         flag = msg;
  31.     }
  32.  
  33.     /**
  34.      * @since VCafe 3.0
  35.      */
  36.     
  37.     public String getFlag()
  38.     {
  39.         return (flag);
  40.     }
  41. }
  42.